#ifndef _TRACK_H
#define _TRACK_H

#include "system.h"

typedef enum {
  stop         = 0,
  speed_low    = 100,
  speed_medium = 250,
  speed_high   = 500,
}track_speed_t;


void track_drive(track_speed_t s);

void track_reverse(track_speed_t s);

void track_stop(void);

void track_turn_left(track_speed_t s);

void track_turn_left_time(track_speed_t s, int ms);

void track_turn_right(track_speed_t s);

void track_drive_test(void);

void track_reverse_test(void);

void track_turn_test(void);

void track_ps2_control_test(void);


#endif 

